package com.cloudbroker.bcs.platform.dav.middle.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.result.ExtendAppGroupDavListData;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.result.ExtendAppGroupFansListData;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.result.ExtendAppGroupWithExtendAppListData;
import com.cloudbroker.bcs.platform.dav.middle.dao.base.TenantDAOBase;
import com.cloudbroker.bcs.platform.dav.middle.entity.ExtendAppGroup;

public interface ExtendAppGroupDAO extends TenantDAOBase<ExtendAppGroup, String>{

	List<ExtendAppGroupDavListData> queryWithPlugsForDav(ExtendAppGroup form);
	List<ExtendAppGroupFansListData> queryWithPlugsForFans(ExtendAppGroup form);
	void delByCondition(@Param("broker_id") String broker_id,@Param("extend_group_id") String extend_group_id,@Param("extend_app_id") String extend_app_id,@Param("tenant_id") Integer tenant_id);
	Long getMaxSort(ExtendAppGroup form);
	List<ExtendAppGroupWithExtendAppListData> listWithExtendApp(ExtendAppGroup form);
	void deleteAll();
}
